<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>JS日历</title>
  <style>
    .calendar {
      margin: 40px auto;
    }
  </style>
  <link rel="stylesheet" href="calendar.css">
</head>
<body>
  <div class="calendar"></div>
  <script type="module">
    import {calendar} from './calendar.js'
    calendar.render({
      element: '.calendar',
      height: 500,
      width: 700
    });
  </script>
</body>
</html>